[<-
Method for function [<-
with
signature(x = "powerClass")
signature(x = "powerClass", i = "character", j = "integer", value = "ANY")
Method for function [<-
for object of S4 class powerClass.
the name of powerClass object.
the name of the slot of the object
picks up j-th element of the list in slot with name &i.
values to set
Set method provides access to slots of powerClass object. Its structure delivered in powerClass-class index. Access to particular vectors of lists supplied with $ operator. For example, log-linear reg.coefficients estimates of smallest size data accessible by obj["estim", 1]$betas, errors can be obtained by analogue: obj["estim", 1]$errors. Power values extraction slightly differs: obj["power11", 1]&power extracts power values vector for 1st effect given 11th (largest) sample size. By analogue we get vector of z-scores for second effect given smallest sample size by obj["power1", 2]&z. It's hardly matter of practicality to employ set method but for programming purpose. See powerClass-class index.